package com.fishery.refrigeratory.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(value="OrderAndProductVo对象", description="")
public class OrderAndProductVo {
    @ApiModelProperty(value = "订单编号")
    private String id;

    @ApiModelProperty(value = "入库编号id")
    private String refrigeratoryInId;

    @ApiModelProperty(value = "目标id(baseId、customerId)")
    private String targetId;

    @ApiModelProperty(value = "物流订单id")
    private String logisticsId;

    @ApiModelProperty(value = "目标名称")
    private String targetName;

    @ApiModelProperty(value = "产品名")
    private String productName;

    @ApiModelProperty(value = "出库时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date refrigeratoryOutTime;

    @ApiModelProperty(value = "基地编号")
    private String baseId;

    @ApiModelProperty(value = "产品重量")
    private Double weight;

    @ApiModelProperty(value = "管理人员id")
    private String warehousingPersonId;

    @ApiModelProperty(value = "目标的类型(1个人、2企业、3加工厂、4冷库)")
    private Integer targetType;

    @ApiModelProperty(value = "收货地址")
    private String receiveAddress;

    @ApiModelProperty(value = "收货地址经度")
    private String addressLongitude;

    @ApiModelProperty(value = "收货地址纬度")
    private String addressLatitude;

    @ApiModelProperty(value = "收货联系电话")
    private String phoneNumber;

    @ApiModelProperty(value = "金额(万元)")
    private BigDecimal money;

    @ApiModelProperty(value = "数量")
    private Integer amount;

    @ApiModelProperty(value = "订单状态（0、未送达，1、送达）")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "出库描述")
    private String refrigeratoryOutDescription;

    @Override
    public String toString() {
        return "OrderAndProductVo{" +
                "id='" + id + '\'' +
                ", refrigeratoryInId='" + refrigeratoryInId + '\'' +
                ", targetId='" + targetId + '\'' +
                ", logisticsId='" + logisticsId + '\'' +
                ", targetName='" + targetName + '\'' +
                ", productName='" + productName + '\'' +
                ", refrigeratoryOutTime=" + refrigeratoryOutTime +
                ", baseId='" + baseId + '\'' +
                ", weight=" + weight +
                ", warehousingPersonId='" + warehousingPersonId + '\'' +
                ", targetType=" + targetType +
                ", receiveAddress='" + receiveAddress + '\'' +
                ", addressLongitude='" + addressLongitude + '\'' +
                ", addressLatitude='" + addressLatitude + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", money=" + money +
                ", amount=" + amount +
                ", status=" + status +
                ", gmtCreate=" + gmtCreate +
                ", refrigeratoryOutDescription='" + refrigeratoryOutDescription + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRefrigeratoryInId() {
        return refrigeratoryInId;
    }

    public void setRefrigeratoryInId(String refrigeratoryInId) {
        this.refrigeratoryInId = refrigeratoryInId;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(String logisticsId) {
        this.logisticsId = logisticsId;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Date getRefrigeratoryOutTime() {
        return refrigeratoryOutTime;
    }

    public void setRefrigeratoryOutTime(Date refrigeratoryOutTime) {
        this.refrigeratoryOutTime = refrigeratoryOutTime;
    }

    public String getBaseId() {
        return baseId;
    }

    public void setBaseId(String baseId) {
        this.baseId = baseId;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getWarehousingPersonId() {
        return warehousingPersonId;
    }

    public void setWarehousingPersonId(String warehousingPersonId) {
        this.warehousingPersonId = warehousingPersonId;
    }

    public Integer getTargetType() {
        return targetType;
    }

    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public String getAddressLongitude() {
        return addressLongitude;
    }

    public void setAddressLongitude(String addressLongitude) {
        this.addressLongitude = addressLongitude;
    }

    public String getAddressLatitude() {
        return addressLatitude;
    }

    public void setAddressLatitude(String addressLatitude) {
        this.addressLatitude = addressLatitude;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getRefrigeratoryOutDescription() {
        return refrigeratoryOutDescription;
    }

    public void setRefrigeratoryOutDescription(String refrigeratoryOutDescription) {
        this.refrigeratoryOutDescription = refrigeratoryOutDescription;
    }
}
